<template>
<div>
  user[id]页面 id:{{id}}
  <NuxtLink to="/">返回</NuxtLink>
</div>
</template>

<script setup>
const route = useRoute()
const id = route.params.id
</script>

<style scoped>

</style>